home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / cli / ron12.lha / ron12.readme < prev   
Text File  |  1994-12-02  |  2KB  |  66 lines

  1. type: util/cli    (hey, cli is dead this should be shell...)
  2. short: Run On Notification  1.2
  3. author: slbrbbbh@w250zrz.zrz.TU-Berlin.de (Stefan Le Breton)
  4. uploader: slbrbbbh@w250zrz.zrz.TU-Berlin.de (Stefan Le Breton)
  5.  
  6. somebody on IRC #amigager (Kamar) asked for a program that runs a
  7. command, if a file is changed. here it is:
  8.  
  9. NAME
  10.  
  11.    ron      Run On Notification ;)
  12.  
  13. ARGUMENTS
  14.  
  15.   FILE/A        the file to be watched
  16.   C=COUNT/K/N   the number of changes that should be watched. Default is 1
  17.   STAY/S        ron should not quit. Whenever the file is changed, the
  18.                 command will be run. STAY overrides COUNT. Actually COUNT
  19.                 will be set to 2147483647. I hope this is not insufficient...
  20.                 (if your file is changed once every second, ron will run about
  21.                 70 years :-)
  22.   EXEC/A/F      the command (it maybe a script) with arguments to execute, it
  23.                 is not required to put it into "". It is the last argument, so
  24.  
  25.                     "ron EXEC beep FILE S:startup-sequence"
  26.  
  27.                 would NOT work... One %s will be replaced with the name of the
  28.                 watched file.
  29.  
  30. STATUS
  31.  
  32.   ron is SUCKSware, if you have a use for it, you have to register by contributing
  33.   another piece of SUCKS. Send me an EMail to tell me your use...
  34.  
  35.  
  36. REMARKS
  37.  
  38.   ron is pure
  39.  
  40.   SUCKS is *NOT* SASG ! ;)
  41.  
  42.   "ron" itself is *NOT* SUCKS
  43.  
  44.   i'm open for suggestions, as long as you're not requesting TOO much.
  45.   (eg a gui).
  46.  
  47. HISTORY
  48.  
  49.   ------27.11.94
  50.   0.5   first public release
  51.   ------01.12.94
  52.   1.0   added Commandline options STAY and COUNT. (suggested by Kamar)
  53.         added replacing of "%s" in the EXEC String with name of the watched
  54.             file. (also Kamar)
  55.   1.1   silly bugs fixed... (no i won't tell'em :-)
  56.   ------02.12.94
  57.   1.2   bugfix: now EndNotify() is always called...
  58.  
  59. AUTHOR
  60.  
  61.   Stefan Le Breton      slbrbbbh@w250zrz.zrz.TU-Berlin.de
  62.                            StElb@IRC  (#amigager)
  63.                         http://w202zrz.zrz.TU-Berlin.de:8000
  64.  
  65. 01.12.94
  66.